package com.digitalchina.lxnsy.sy.changao;

import android.webkit.JavascriptInterface;

import com.digitalchina.lxnsy.base.BaseHtmlActivity;
import com.digitalchina.lxnsy.sy.shouyunqueren.SeeEarTag2Activity;


public class LambingRecordDetailsActivity extends BaseHtmlActivity {
    private int tag = 0;

    @Override
    protected void loadHtml() {
        webView.addJavascriptObject(new JsApi(), null);

        loadUrl("lambingRecordDetails");
        setTitle("查看产羔记录详情");

    }





    @Override
    public void rightOnClick() {

    }

    public class JsApi {


        @JavascriptInterface
        public void editLambingRecord(Object msg) {
            finish();
            go(EditLambingRecordActivity.class);

        }

        @JavascriptInterface
        public void seeEarTag2(Object msg) {
            go(SeeEarTag2Activity.class);

        }











    }
}
